import request from "./index.js";
let webSer = process.env.VUE_APP_SERVICE_SERVE
//添加页面数据
export function addpageMessage(query) {
  return request({
    url:`${webSer}/addpageMessage`,
    method: "post",
    params: query,
  });
}
//查询页面数据
export function viewPageMessage(query) {
  return request({
    url:`${webSer}/viewPageMessage`,
    method: "post",
    params: query,
  });
}

//编辑数据
export function editPageMessage(query){
    return request({
        url:`${webSer}/editPageMessage`,
        method: "post",
        params: query,
      });
}
//删除数据
export function delPageMessage(query){
    return request({
        url:`${webSer}/delPageMessage`,
        method: "post",
        params: query,
      });
}




//预约功能  ---  列表查询
export function setrYuyueMessage(query){
    return request({
        url:`${webSer}/setrYuyueMessage`,
        method: "post",
        params: query,
      });
}
//预约功能  ---  审核
export function shenheYuyueMessage(query){
    return request({
        url:`${webSer}/shenheYuyueMessage`,
        method: "post",
        params: query,
      });
}
//预约功能  ---  删除
export function delYuyueMessage(query){
    return request({
        url:`${webSer}/delYuyueMessage`,
        method: "post",
        params: query,
      });
}




